package com.itheima.text2;


public class Demo1 {
    public static void main(String[] args) {

       MyThread1 m1 = new MyThread1();
       m1.setName("线程一");
       m1.start();

       MyThread2 m2 = new MyThread2();
       m2.setName("线程二");
       m2.start();
    }
}
